package org.come.Jpanel;

import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java.lang.String;

import java.awt.event.MouseListener;
import java.io.File;
import java.lang.reflect.InvocationTargetException;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Comparator;
import java.util.GregorianCalendar;
import java.util.List;

import javax.swing.ImageIcon;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.table.DefaultTableModel;

import com.tool.btn.FormsOnOffBtn;
import com.tool.btn.MouseStyleBtn;
import com.updateNew.MyIsif;
import org.apache.commons.beanutils.BeanUtils;
import org.come.Frame.NPCJfram;
import org.come.Frame.OptionsJframe;
import org.come.Frame.TestsmallmapJframe;
import org.come.Frame.WorldTestsmallmapJframe;
import org.come.Frame.ZhuFrame;
import org.come.bean.Mapmodel;
import org.come.bean.Mapmodelworld;
import org.come.bean.RoleShow;
import org.come.entity.Goodstable;
import org.come.model.Door;
import org.come.model.Gamemap;
import org.come.model.GamemapWorld;
import org.come.mouslisten.GoodsMouslisten;
import org.come.mouslisten.WLLMouslisten;
import org.come.npc.TP;
import org.come.socket.Agreement;
import org.come.socket.SendMessageUntil;
import org.come.thread.TimeControlRunnable;
import org.come.until.*;

import com.tool.btn.GoodPanelBtn;
import com.tool.btn.RoleCaoZuoBtn;
import com.tool.image.ImageMixDeal;
import com.tool.imagemonitor.ScriptOpen;
import com.tool.tcpimg.UIUtils;

import come.tool.JDialog.TiShiUtil;
import come.tool.map.XLPath;



/**
 * 世界地图   
 * @author Administrator
 *任我行相关
 */
public class WorldMapJpanel extends JPanel {


    private static String mapZb = "1207,长安城,4070,2710|1193,长安东,2850,2330|1208,东海渔村,3270,2790|1210,大唐境内,3730,376|1211,地府,770,1030|1213,珊瑚海岛,119,466|1227,轮回司,1030,770|1228,长寿村,830,4130|1229,长寿村外,2350,530|1230,天宫,2590,1910|1231,御马监,450,1810|1232,瑶池,380,1620|1236,洛阳城,2293,2966|1240,广寒宫,2540,1400|1241,蟠桃园,300,3920|1242,五指山,5299,1588|1244,龙宫,1580,1360|1246,方寸山,97,1142|1248,女儿村,250,1010|1250,傲来国,4429,2129|1251,大唐边境,1560,2400|1252,普陀山,504,1741|1254,化生寺,3586,2754|1259,狮驼岭,1102,1863|1263,五庄观,180,1800|1267,北俱芦洲,1119,2687|1272,斧头帮,3541,2789|1278,万寿山,398,1520|1279,四圣庄,4305,3664|1280,白骨山,4840,3240|1296,灵兽村,364,2707|1298,皇宫,588,2448|3012,兰若寺,1890,1830|3180,宝象国,694,1320|3205,修罗古城,2362,1183|3210,火云戈壁,1157,1343|3307,平顶山,6020,3280|3308,女儿国,1977,2952|3348,花果山,680,220|3155,水帘洞,680,220|40004,瀛洲,3380,2080|40005,方壶,1660,2580|40007,流洲,3000,1902"
            +"|1275,地狱迷宫1,1280,1024|1273,地狱迷宫2,1280,1024|1276,地狱迷宫3,1280,1024|1274,地狱迷宫4,1280,1024"
            +"|1268,海底迷宫1,1792,1280|1269,海底迷宫2,1792,1280|1270,海底迷宫3,1792,1280|1271,海底迷宫4,1792,1280"
            +"|1221,大雁塔一层,3072,2304|1222,大雁塔二层,3072,2304|1223,大雁塔三层,3072,2304|1224,大雁塔四层,3072,2304|1225,大雁塔五层,3072,2304|1226,大雁塔六层,1024,768|3311,大雁塔七层,960,720"
            +"|1289,凤巢一层,2048,1536|1290,凤巢二层,2048,1536|1291,凤巢三层,2560,2048|1292,凤巢四层,2560,2048|1293,凤巢五层,2560,2048|1294,凤巢六层,2560,2048|1295,凤巢七层,2560,2048"
            +"|1282,龙窟,2048,1536|1283,龙窟二层,2048,1536|1284,龙窟三层,2560,2048|1285,龙窟四层,2560,2048|1286,龙窟五层,2560,2048|1287,龙窟六层,2560,2048|1288,龙窟七层,2560,2048";

    private static JTextField findName1;

    private static RoleCaoZuoBtn sureGive;// 确定查询，取消


    //新增小地图设置
    public static String Smapcs ;
    public static String Smapnpc ;
    public static String Smapqtnpc ;

    //新增小地图设置

    private static FormsOnOffBtn ssnpc,czdl;

    private Goodstable good;
    private static String[] Fvalue;
    private static JTextArea testMes;// 用来显示信息
    public String npczb;
    public static String npcfeiji;
    public static String npcfeiji1;
    // 信息表格中的对象
    private static DefaultTableModel tableModel;

    private static RoleCaoZuoBtn maze1;
    private static RoleCaoZuoBtn maze2;
    private static RoleCaoZuoBtn maze3;
    private static RoleCaoZuoBtn maze4;
    private static RoleCaoZuoBtn diyumog1;
    private static RoleCaoZuoBtn diyumog2;
    private static RoleCaoZuoBtn diyumog3;
    private static RoleCaoZuoBtn diyumog4;
    private static RoleCaoZuoBtn dayanta1;
    private static RoleCaoZuoBtn dayanta2;
    private static RoleCaoZuoBtn dayanta3;
    private static RoleCaoZuoBtn dayanta4;
    private static RoleCaoZuoBtn dayanta5;
    private static RoleCaoZuoBtn dayanta6;
    private static RoleCaoZuoBtn dayanta7;
    private static RoleCaoZuoBtn fengcao1;
    private static RoleCaoZuoBtn fengcao2;
    private static RoleCaoZuoBtn fengcao3;
    private static RoleCaoZuoBtn fengcao4;
    private static RoleCaoZuoBtn fengcao5;
    private static RoleCaoZuoBtn fengcao6;
    private static RoleCaoZuoBtn fengcao7;
    private static RoleCaoZuoBtn longku1;
    private static RoleCaoZuoBtn longku2;
    private static RoleCaoZuoBtn longku3;
    private static RoleCaoZuoBtn longku4;
    private static RoleCaoZuoBtn longku5;
    private static RoleCaoZuoBtn longku6;
    private static RoleCaoZuoBtn longku7;

    private static MouseStyleBtn mazekz;
    private static MouseStyleBtn diyumogkz;
    private static MouseStyleBtn dayantakz;
    private static MouseStyleBtn fengcaokz;
    private static MouseStyleBtn longkukz;

    public static void showIsTeamBtnSx(final boolean type, final int num) {
        if (num == 0) {
            WorldMapJpanel.maze1.setVisible(type);
            WorldMapJpanel.maze2.setVisible(type);
            WorldMapJpanel.maze3.setVisible(type);
            WorldMapJpanel.maze4.setVisible(type);
        }
        else {
            if (WorldMapJpanel.maze1.isVisible()) {
                WorldMapJpanel.maze1.setVisible(false);
                WorldMapJpanel.maze2.setVisible(false);
                WorldMapJpanel.maze3.setVisible(false);
                WorldMapJpanel.maze4.setVisible(false);
            }
            else {
                WorldMapJpanel.maze1.setVisible(true);
                WorldMapJpanel.maze2.setVisible(true);
                WorldMapJpanel.maze3.setVisible(true);
                WorldMapJpanel.maze4.setVisible(true);
            }
        }
    }

    public static void showduyu(final boolean type, final int num) {
        if (num == 0) {
            WorldMapJpanel.diyumog1.setVisible(type);
            WorldMapJpanel.diyumog2.setVisible(type);
            WorldMapJpanel.diyumog3.setVisible(type);
            WorldMapJpanel.diyumog4.setVisible(type);
        }
        else {
            if (WorldMapJpanel.diyumog1.isVisible()) {
                WorldMapJpanel.diyumog1.setVisible(false);
                WorldMapJpanel.diyumog2.setVisible(false);
                WorldMapJpanel.diyumog3.setVisible(false);
                WorldMapJpanel.diyumog4.setVisible(false);
            }
            else {
                WorldMapJpanel.diyumog1.setVisible(true);
                WorldMapJpanel.diyumog2.setVisible(true);
                WorldMapJpanel.diyumog3.setVisible(true);
                WorldMapJpanel.diyumog4.setVisible(true);
            }
        }
    }

    public static void showdayanta(final boolean type, final int num) {
        if (num == 0) {
            WorldMapJpanel.dayanta1.setVisible(type);
            WorldMapJpanel.dayanta2.setVisible(type);
            WorldMapJpanel.dayanta3.setVisible(type);
            WorldMapJpanel.dayanta4.setVisible(type);
            WorldMapJpanel.dayanta5.setVisible(type);
            WorldMapJpanel.dayanta6.setVisible(type);
            WorldMapJpanel.dayanta7.setVisible(type);
        }
        else {
            if (WorldMapJpanel.dayanta1.isVisible()) {
                WorldMapJpanel.dayanta1.setVisible(false);
                WorldMapJpanel.dayanta2.setVisible(false);
                WorldMapJpanel.dayanta3.setVisible(false);
                WorldMapJpanel.dayanta4.setVisible(false);
                WorldMapJpanel.dayanta5.setVisible(false);
                WorldMapJpanel.dayanta6.setVisible(false);
                WorldMapJpanel.dayanta7.setVisible(false);
            }
            else {
                WorldMapJpanel.dayanta1.setVisible(true);
                WorldMapJpanel.dayanta2.setVisible(true);
                WorldMapJpanel.dayanta3.setVisible(true);
                WorldMapJpanel.dayanta4.setVisible(true);
                WorldMapJpanel.dayanta5.setVisible(true);
                WorldMapJpanel.dayanta6.setVisible(true);
                WorldMapJpanel.dayanta7.setVisible(true);
            }
        }
    }

    public static void showfengcao(final boolean type, final int num) {
        if (num == 0) {
            WorldMapJpanel.fengcao1.setVisible(type);
            WorldMapJpanel.fengcao2.setVisible(type);
            WorldMapJpanel.fengcao3.setVisible(type);
            WorldMapJpanel.fengcao4.setVisible(type);
            WorldMapJpanel.fengcao5.setVisible(type);
            WorldMapJpanel.fengcao6.setVisible(type);
            WorldMapJpanel.fengcao7.setVisible(type);
        }
        else {
            if (WorldMapJpanel.fengcao1.isVisible()) {
                WorldMapJpanel.fengcao1.setVisible(false);
                WorldMapJpanel.fengcao2.setVisible(false);
                WorldMapJpanel.fengcao3.setVisible(false);
                WorldMapJpanel.fengcao4.setVisible(false);
                WorldMapJpanel.fengcao5.setVisible(false);
                WorldMapJpanel.fengcao6.setVisible(false);
                WorldMapJpanel.fengcao7.setVisible(false);
            }
            else {
                WorldMapJpanel.fengcao1.setVisible(true);
                WorldMapJpanel.fengcao2.setVisible(true);
                WorldMapJpanel.fengcao3.setVisible(true);
                WorldMapJpanel.fengcao4.setVisible(true);
                WorldMapJpanel.fengcao5.setVisible(true);
                WorldMapJpanel.fengcao6.setVisible(true);
                WorldMapJpanel.fengcao7.setVisible(true);
            }
        }
    }

    public static void showlongku(final boolean type, final int num) {
        if (num == 0) {
            WorldMapJpanel.longku1.setVisible(type);
            WorldMapJpanel.longku2.setVisible(type);
            WorldMapJpanel.longku3.setVisible(type);
            WorldMapJpanel.longku4.setVisible(type);
            WorldMapJpanel.longku5.setVisible(type);
            WorldMapJpanel.longku6.setVisible(type);
            WorldMapJpanel.longku7.setVisible(type);
        }
        else {
            if (WorldMapJpanel.longku1.isVisible()) {
                WorldMapJpanel.longku1.setVisible(false);
                WorldMapJpanel.longku2.setVisible(false);
                WorldMapJpanel.longku3.setVisible(false);
                WorldMapJpanel.longku4.setVisible(false);
                WorldMapJpanel.longku5.setVisible(false);
                WorldMapJpanel.longku6.setVisible(false);
                WorldMapJpanel.longku7.setVisible(false);
            }
            else {
                WorldMapJpanel.longku1.setVisible(true);
                WorldMapJpanel.longku2.setVisible(true);
                WorldMapJpanel.longku3.setVisible(true);
                WorldMapJpanel.longku4.setVisible(true);
                WorldMapJpanel.longku5.setVisible(true);
                WorldMapJpanel.longku6.setVisible(true);
                WorldMapJpanel.longku7.setVisible(true);
            }
        }
    }

    public WorldMapJpanel() {

        this.setPreferredSize(new Dimension(953, 501));
        this.setLayout(null);
        this.setBackground(UIUtils.Color_BACK);
        if("水墨UI".equals(MyIsif.getStyle())) {
            // 关闭按钮事件
            FormsOnOffBtn offBtn = new FormsOnOffBtn("skin/8100226/newbutton/worldtb.png", 1, 1102);
            offBtn.setBounds(953-108, 38, 20, 20);
            this.add(offBtn);


            //海底迷宫
            (WorldMapJpanel.mazekz = new MouseStyleBtn("inkImg/old/9/1268.png", 1, "海底迷宫", "")).setBounds(533+50+22, 235+10, 73, 24);
            this.add((Component)WorldMapJpanel.mazekz);

            //海底迷宫
            (WorldMapJpanel.maze1 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1,UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT, "海底迷宫1",1268)).setBounds(580+22, 273, 68, 17);
            WorldMapJpanel.maze1.setVisible(false);
            this.add((Component)WorldMapJpanel.maze1);

            (WorldMapJpanel.maze2 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1,UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT, "海底迷宫2",1269)).setBounds(580+22, 273+17, 68, 17);
            WorldMapJpanel.maze2.setVisible(false);
            this.add((Component)WorldMapJpanel.maze2);

            (WorldMapJpanel.maze3 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1,UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT, "海底迷宫3",1270)).setBounds(580+22, 273+17*2, 68, 17);
            WorldMapJpanel.maze3.setVisible(false);
            this.add((Component)WorldMapJpanel.maze3);

            (WorldMapJpanel.maze4 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"海底迷宫4" ,1271)).setBounds(580+22, 273+17*3, 68, 17);
            WorldMapJpanel.maze4.setVisible(false);
            this.add((Component)WorldMapJpanel.maze4);

            //地狱迷宫
            (WorldMapJpanel.diyumogkz = new MouseStyleBtn("inkImg/old/9/1275.png", 1, "地狱迷宫", "")).setBounds(525+73+22, 380+15+10, 73, 24);
            this.add((Component)WorldMapJpanel.diyumogkz);

            //地狱迷宫
            (WorldMapJpanel.diyumog1 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1,UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT, "地狱迷宫1",1275)).setBounds(588+22, 400-17, 68, 17);
            WorldMapJpanel.diyumog1.setVisible(false);
            this.add((Component)WorldMapJpanel.diyumog1);

            (WorldMapJpanel.diyumog2 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1,UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT, "地狱迷宫2",1273)).setBounds(588+22, 400-17*2, 68, 17);
            WorldMapJpanel.diyumog2.setVisible(false);
            this.add((Component)WorldMapJpanel.diyumog2);

            (WorldMapJpanel.diyumog3 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1,UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT, "地狱迷宫3",1276)).setBounds(588+22, 400-17*3, 68, 17);
            WorldMapJpanel.diyumog3.setVisible(false);
            this.add((Component)WorldMapJpanel.diyumog3);

            (WorldMapJpanel.diyumog4 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"地狱迷宫4" ,1274)).setBounds(588+22, 400-17*4, 68, 17);
            WorldMapJpanel.diyumog4.setVisible(false);
            this.add((Component)WorldMapJpanel.diyumog4);

            //大雁塔
            (WorldMapJpanel.dayantakz = new MouseStyleBtn("inkImg/old/9/1221.png", 1, "大雁塔", "")).setBounds(370+63+22, 260+10, 60, 24);
            this.add((Component)WorldMapJpanel.dayantakz);

            //大雁塔
            (WorldMapJpanel.dayanta1 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"大雁塔一层" ,1221)).setBounds(423+22, 260-17, 68, 24);
            WorldMapJpanel.dayanta1.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta1);

            (WorldMapJpanel.dayanta2 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"大雁塔二层" ,1222)).setBounds(423+22, 260-17*2, 68, 24);
            WorldMapJpanel.dayanta2.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta2);

            (WorldMapJpanel.dayanta3 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"大雁塔三层" ,1223)).setBounds(423+22, 260-17*3, 68, 24);
            WorldMapJpanel.dayanta3.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta3);

            (WorldMapJpanel.dayanta4 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"大雁塔四层" ,1224)).setBounds(423+22, 260-17*4, 68, 24);
            WorldMapJpanel.dayanta4.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta4);

            (WorldMapJpanel.dayanta5 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"大雁塔五层" ,1225)).setBounds(423+22, 260-17*5, 68, 24);
            WorldMapJpanel.dayanta5.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta5);

            (WorldMapJpanel.dayanta6 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"大雁塔六层" ,1226)).setBounds(423+22, 260-17*6, 68, 24);
            WorldMapJpanel.dayanta6.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta6);

            (WorldMapJpanel.dayanta7 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"大雁塔七层" ,3311)).setBounds(423+22, 260-17*7, 68, 24);
            WorldMapJpanel.dayanta7.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta7);

            //凤巢
            (WorldMapJpanel.fengcaokz = new MouseStyleBtn("inkImg/old/9/1289.png", 1, "凤巢", "")).setBounds(265+85+22, 60+10, 40, 24);
            this.add((Component)WorldMapJpanel.fengcaokz);

            //凤巢
            (WorldMapJpanel.fengcao1 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"凤巢一层" ,1289)).setBounds(330+22, 70+17, 68, 24);
            WorldMapJpanel.fengcao1.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao1);

            (WorldMapJpanel.fengcao2 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"凤巢二层" ,1290)).setBounds(330+22, 70+17*2, 68, 24);
            WorldMapJpanel.fengcao2.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao2);

            (WorldMapJpanel.fengcao3 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"凤巢三层" ,1291)).setBounds(330+22, 70+17*3, 68, 24);
            WorldMapJpanel.fengcao3.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao3);

            (WorldMapJpanel.fengcao4 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"凤巢四层" ,1292)).setBounds(330+22, 70+17*4, 68, 24);
            WorldMapJpanel.fengcao4.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao4);

            (WorldMapJpanel.fengcao5 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"凤巢五层" ,1293)).setBounds(330+22, 70+17*5, 68, 24);
            WorldMapJpanel.fengcao5.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao5);

            (WorldMapJpanel.fengcao6 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"凤巢六层" ,1294)).setBounds(330+22, 70+17*6, 68, 24);
            WorldMapJpanel.fengcao6.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao6);

            (WorldMapJpanel.fengcao7 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"凤巢七层" ,1295)).setBounds(330+22, 70+17*7, 68, 24);
            WorldMapJpanel.fengcao7.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao7);

            //龙窟
            (WorldMapJpanel.longkukz = new MouseStyleBtn("inkImg/old/9/1282.png", 1, "龙窟", "")).setBounds(385+65+22, 55+10, 40, 24);
            this.add((Component)WorldMapJpanel.longkukz);

            //龙窟
            (WorldMapJpanel.longku1 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"龙窟一层" ,1282)).setBounds(430+22, 70+17, 68, 24);
            WorldMapJpanel.longku1.setVisible(false);
            this.add((Component)WorldMapJpanel.longku1);

            (WorldMapJpanel.longku2 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"龙窟二层" ,1283)).setBounds(430+22, 70+17*2, 68, 24);
            WorldMapJpanel.longku2.setVisible(false);
            this.add((Component)WorldMapJpanel.longku2);

            (WorldMapJpanel.longku3 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"龙窟三层" ,1284)).setBounds(430+22, 70+17*3, 68, 24);
            WorldMapJpanel.longku3.setVisible(false);
            this.add((Component)WorldMapJpanel.longku3);

            (WorldMapJpanel.longku4 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"龙窟四层" ,1285)).setBounds(430+22, 70+17*4, 68, 24);
            WorldMapJpanel.longku4.setVisible(false);
            this.add((Component)WorldMapJpanel.longku4);

            (WorldMapJpanel.longku5 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"龙窟五层" ,1286)).setBounds(430+22, 70+17*5, 68, 24);
            WorldMapJpanel.longku5.setVisible(false);
            this.add((Component)WorldMapJpanel.longku5);

            (WorldMapJpanel.longku6 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"龙窟六层" ,1287)).setBounds(430+22, 70+17*6, 68, 24);
            WorldMapJpanel.longku6.setVisible(false);
            this.add((Component)WorldMapJpanel.longku6);

            (WorldMapJpanel.longku7 = new RoleCaoZuoBtn("skin/8100226/newbutton/B34.png", 1, UIUtils.COLOR_WHITE,UIUtils.TEXT_FONT,"龙窟七层" ,1288)).setBounds(430+22, 70+17*7, 68, 24);
            WorldMapJpanel.longku7.setVisible(false);
            this.add((Component)WorldMapJpanel.longku7);

        }else{
            // 关闭按钮事件
            FormsOnOffBtn offBtn = new FormsOnOffBtn("skin/8100226/newbutton/worldtb.png", 1, 1102);
            offBtn.setBounds(953-108, 38, 20, 20);
            this.add(offBtn);


            //海底迷宫
            (WorldMapJpanel.mazekz = new MouseStyleBtn("inkImg/old/9/1268.png", 1, "海底迷宫", "")).setBounds(533+50+22, 235+10, 73, 24);
            this.add((Component)WorldMapJpanel.mazekz);

            //海底迷宫
            (WorldMapJpanel.maze1 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT, "海底迷宫1",1268)).setBounds(580+22, 273, 68, 17);
            WorldMapJpanel.maze1.setVisible(false);
            this.add((Component)WorldMapJpanel.maze1);

            (WorldMapJpanel.maze2 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT, "海底迷宫2",1269)).setBounds(580+22, 273+17, 68, 17);
            WorldMapJpanel.maze2.setVisible(false);
            this.add((Component)WorldMapJpanel.maze2);

            (WorldMapJpanel.maze3 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT, "海底迷宫3",1270)).setBounds(580+22, 273+17*2, 68, 17);
            WorldMapJpanel.maze3.setVisible(false);
            this.add((Component)WorldMapJpanel.maze3);

            (WorldMapJpanel.maze4 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"海底迷宫4" ,1271)).setBounds(580+22, 273+17*3, 68, 17);
            WorldMapJpanel.maze4.setVisible(false);
            this.add((Component)WorldMapJpanel.maze4);

            //地狱迷宫
            (WorldMapJpanel.diyumogkz = new MouseStyleBtn("inkImg/old/9/1275.png", 1, "地狱迷宫", "")).setBounds(525+73+22, 380+15+10, 73, 24);
            this.add((Component)WorldMapJpanel.diyumogkz);

            //地狱迷宫
            (WorldMapJpanel.diyumog1 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT, "地狱迷宫1",1275)).setBounds(588+22, 400-17, 68, 17);
            WorldMapJpanel.diyumog1.setVisible(false);
            this.add((Component)WorldMapJpanel.diyumog1);

            (WorldMapJpanel.diyumog2 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT, "地狱迷宫2",1273)).setBounds(588+22, 400-17*2, 68, 17);
            WorldMapJpanel.diyumog2.setVisible(false);
            this.add((Component)WorldMapJpanel.diyumog2);

            (WorldMapJpanel.diyumog3 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT, "地狱迷宫3",1276)).setBounds(588+22, 400-17*3, 68, 17);
            WorldMapJpanel.diyumog3.setVisible(false);
            this.add((Component)WorldMapJpanel.diyumog3);

            (WorldMapJpanel.diyumog4 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"地狱迷宫4" ,1274)).setBounds(588+22, 400-17*4, 68, 17);
            WorldMapJpanel.diyumog4.setVisible(false);
            this.add((Component)WorldMapJpanel.diyumog4);

            //大雁塔
            (WorldMapJpanel.dayantakz = new MouseStyleBtn("inkImg/old/9/1221.png", 1, "大雁塔", "")).setBounds(370+63+22, 260+10, 60, 24);
            this.add((Component)WorldMapJpanel.dayantakz);

            //大雁塔
            (WorldMapJpanel.dayanta1 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"大雁塔一层" ,1221)).setBounds(423+22, 260-17, 68, 24);
            WorldMapJpanel.dayanta1.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta1);

            (WorldMapJpanel.dayanta2 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"大雁塔二层" ,1222)).setBounds(423+22, 260-17*2, 68, 24);
            WorldMapJpanel.dayanta2.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta2);

            (WorldMapJpanel.dayanta3 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"大雁塔三层" ,1223)).setBounds(423+22, 260-17*3, 68, 24);
            WorldMapJpanel.dayanta3.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta3);

            (WorldMapJpanel.dayanta4 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"大雁塔四层" ,1224)).setBounds(423+22, 260-17*4, 68, 24);
            WorldMapJpanel.dayanta4.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta4);

            (WorldMapJpanel.dayanta5 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"大雁塔五层" ,1225)).setBounds(423+22, 260-17*5, 68, 24);
            WorldMapJpanel.dayanta5.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta5);

            (WorldMapJpanel.dayanta6 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"大雁塔六层" ,1226)).setBounds(423+22, 260-17*6, 68, 24);
            WorldMapJpanel.dayanta6.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta6);

            (WorldMapJpanel.dayanta7 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"大雁塔七层" ,3311)).setBounds(423+22, 260-17*7, 68, 24);
            WorldMapJpanel.dayanta7.setVisible(false);
            this.add((Component)WorldMapJpanel.dayanta7);

            //凤巢
            (WorldMapJpanel.fengcaokz = new MouseStyleBtn("inkImg/old/9/1289.png", 1, "凤巢", "")).setBounds(265+85+22, 60+10, 40, 24);
            this.add((Component)WorldMapJpanel.fengcaokz);

            //凤巢
            (WorldMapJpanel.fengcao1 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"凤巢一层" ,1289)).setBounds(330+22, 70+17, 68, 24);
            WorldMapJpanel.fengcao1.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao1);

            (WorldMapJpanel.fengcao2 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"凤巢二层" ,1290)).setBounds(330+22, 70+17*2, 68, 24);
            WorldMapJpanel.fengcao2.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao2);

            (WorldMapJpanel.fengcao3 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"凤巢三层" ,1291)).setBounds(330+22, 70+17*3, 68, 24);
            WorldMapJpanel.fengcao3.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao3);

            (WorldMapJpanel.fengcao4 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"凤巢四层" ,1292)).setBounds(330+22, 70+17*4, 68, 24);
            WorldMapJpanel.fengcao4.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao4);

            (WorldMapJpanel.fengcao5 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"凤巢五层" ,1293)).setBounds(330+22, 70+17*5, 68, 24);
            WorldMapJpanel.fengcao5.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao5);

            (WorldMapJpanel.fengcao6 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"凤巢六层" ,1294)).setBounds(330+22, 70+17*6, 68, 24);
            WorldMapJpanel.fengcao6.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao6);

            (WorldMapJpanel.fengcao7 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"凤巢七层" ,1295)).setBounds(330+22, 70+17*7, 68, 24);
            WorldMapJpanel.fengcao7.setVisible(false);
            this.add((Component)WorldMapJpanel.fengcao7);

            //龙窟
            (WorldMapJpanel.longkukz = new MouseStyleBtn("inkImg/old/9/1282.png", 1, "龙窟", "")).setBounds(385+65+22, 55+10, 40, 24);
            this.add((Component)WorldMapJpanel.longkukz);

            //龙窟
            (WorldMapJpanel.longku1 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"龙窟一层" ,1282)).setBounds(430+22, 70+17, 68, 24);
            WorldMapJpanel.longku1.setVisible(false);
            this.add((Component)WorldMapJpanel.longku1);

            (WorldMapJpanel.longku2 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"龙窟二层" ,1283)).setBounds(430+22, 70+17*2, 68, 24);
            WorldMapJpanel.longku2.setVisible(false);
            this.add((Component)WorldMapJpanel.longku2);

            (WorldMapJpanel.longku3 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"龙窟三层" ,1284)).setBounds(430+22, 70+17*3, 68, 24);
            WorldMapJpanel.longku3.setVisible(false);
            this.add((Component)WorldMapJpanel.longku3);

            (WorldMapJpanel.longku4 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"龙窟四层" ,1285)).setBounds(430+22, 70+17*4, 68, 24);
            WorldMapJpanel.longku4.setVisible(false);
            this.add((Component)WorldMapJpanel.longku4);

            (WorldMapJpanel.longku5 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"龙窟五层" ,1286)).setBounds(430+22, 70+17*5, 68, 24);
            WorldMapJpanel.longku5.setVisible(false);
            this.add((Component)WorldMapJpanel.longku5);

            (WorldMapJpanel.longku6 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"龙窟六层" ,1287)).setBounds(430+22, 70+17*6, 68, 24);
            WorldMapJpanel.longku6.setVisible(false);
            this.add((Component)WorldMapJpanel.longku6);

            (WorldMapJpanel.longku7 = new RoleCaoZuoBtn("inkImg/hongmu/1/B34h.png", 1,UIUtils.COLOR_BTNPUTONG2,UIUtils.TEXT_FONT,"龙窟七层" ,1288)).setBounds(430+22, 70+17*7, 68, 24);
            WorldMapJpanel.longku7.setVisible(false);
            this.add((Component)WorldMapJpanel.longku7);

        }




        //长安城
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1207.png", 1, "    ", 1207, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(390+65+22, 275+15+10, 95, 35);
        this.add(sureGive);
        //长安东
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1193.png", 1, "    ", 1193, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(480+75+22, 310+20+10, 60, 24);
        this.add(sureGive);
        //东海渔村
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1208.png", 1, "    ", 1208, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(550+85+22, 280+10, 73, 24);
        this.add(sureGive);
        //大唐境内
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1210.png", 1, "    ", 1210, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(350+60+22, 340+25+10, 73, 24);
        this.add(sureGive);
        //地府
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1211.png", 1, "    ", 1211, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(500+60+22, 420+20+10, 60, 24);
        this.add(sureGive);
        //珊瑚海岛
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1213.png", 1, "    ", 1213, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(555+80+22, 312+10, 73, 24);
        this.add(sureGive);
        //地下鬼岛
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1214.png", 1, "    ", 1214, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(555+90+22, 312+30+10, 76, 18);
        this.add(sureGive);
//        //大雁塔
//        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1221.png", 1, "    ", 1221, UIUtils.COLOR_BTNPUTONG);
//        sureGive.setBounds(370+63, 260, 60, 24);
//        this.add(sureGive);
        //轮回司
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1227.png", 1, "    ", 1227, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(460+65+22, 390+20+10, 60, 24);
        this.add(sureGive);
        //长寿村
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1228.png", 1, "    ", 1228, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(65+65+22, 199+20+10, 80, 26);
        this.add(sureGive);
        //长寿村外
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1229.png", 1, "    ", 1229, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(40+70+22, 245+20+10, 73, 24);
        this.add(sureGive);
        //天宫
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1230.png", 1, "    ", 1230, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(85+75+22, 100+10, 72, 26);
        this.add(sureGive);
        //御马监
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1231.png", 1, "    ", 1231, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(135+70+22, 79+10, 62, 24);
        this.add(sureGive);
        //瑶池
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1232.png", 1, "    ", 1232, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(45+80+22, 70+10, 50, 24);
        this.add(sureGive);
        //洛阳城
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1236.png", 1, "    ", 1236, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(354+58+22, 375+38+10, 95, 24);
        this.add(sureGive);
        //广寒宫
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1240.png", 1, "    ", 1240, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(40+85+22, 35+10, 62, 24);
        this.add(sureGive);
        //蟠桃园
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1241.png", 1, "    ", 1241, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(110+85+22, 25+10, 62, 24);
        this.add(sureGive);
        //五指山
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1242.png", 1, "    ", 1242, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(280+60+22, 330+20+10, 62, 24);
        this.add(sureGive);
        //龙宫
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1244.png", 1, "    ", 1244, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(535+22, 210+10, 62, 24);
        this.add(sureGive);
        //方寸后山
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1136.png", 1, "    ", 1136, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(60+40+22, 162+10, 78, 19);
        this.add(sureGive);
        //方寸山
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1246.png", 1, "    ", 1246, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(60+65+22, 164+20+10, 62, 24);
        this.add(sureGive);
        //女儿村
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1248.png", 1, "    ", 1248, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(563+38+22, 90+10, 62, 24);
        this.add(sureGive);
        //傲来国
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1250.png", 1, "    ", 1250, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(512+45+22, 118+10, 95, 24);
        this.add(sureGive);
        //花果山
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/3348.png", 1, "    ", 3348, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(512+90+22, 150+10, 59, 20);
        this.add(sureGive);
        //水帘洞
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/3155.png", 1, "    ", 3155, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(512+65+22, 173+10, 59, 20);
        this.add(sureGive);
//        //方寸山后
//        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1136.png", 1, "    ", 1136, UIUtils.COLOR_BTNPUTONG);
//        sureGive.setBounds(512+65+22, 173+10, 59, 20);
//        this.add(sureGive);
//        //地下鬼岛
//        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1214.png", 1, "    ", 1214, UIUtils.COLOR_BTNPUTONG);
//        sureGive.setBounds(512+65+22, 173+10, 59, 20);
//        this.add(sureGive);
//        //蓬莱瀛洲
//        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1802.png", 1, "    ", 1802, UIUtils.COLOR_BTNPUTONG);
//        sureGive.setBounds(512+65+22, 173+10, 59, 20);
//        this.add(sureGive);
//        //方壶
//        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1803.png", 1, "    ", 1803, UIUtils.COLOR_BTNPUTONG);
//        sureGive.setBounds(512+65+22, 173+10, 59, 20);
//        this.add(sureGive);
//        //流洲
//        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1804.png", 1, "    ", 1804, UIUtils.COLOR_BTNPUTONG);
//        sureGive.setBounds(512+65+22, 173+10, 59, 20);
//        this.add(sureGive);
//        //蓬莱海渊
//        sureGive = new RoleCaoZuoBtn("inkImg/old/9/4006.png", 1, "    ", 4006, UIUtils.COLOR_BTNPUTONG);
//        sureGive.setBounds(512+65+22, 173+10, 59, 20);
//        this.add(sureGive);
        //大唐边境
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1251.png", 1, "    ", 1251, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(185+70+22, 332+15+10, 73, 24);
        this.add(sureGive);
        //普陀山
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1252.png", 1, "    ", 1252, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(40+50+22, 350+8+10, 62, 24);
        this.add(sureGive);
        //化生寺
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1254.png", 1, "    ", 1254, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(408+70+22, 225+10+10, 62, 24);
        this.add(sureGive);
        //狮驼岭
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1259.png", 1, "    ", 1259, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(180+65+22, 363+15+10, 62, 24);
        this.add(sureGive);
        //五庄观
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1263.png", 1, "    ", 1263, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(305+65+22, 272+20+10, 62, 24);
        this.add(sureGive);
        //北俱芦洲
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1267.png", 1, "    ", 1267, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(300+75+22, 90+10, 107, 24);
        this.add(sureGive);
//        //海底迷宫
//        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1268.png", 1, "    ", 1268, UIUtils.COLOR_BTNPUTONG);
//        sureGive.setBounds(533+50, 235, 73, 24);
//        this.add(sureGive);
        //斧头帮
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1272.png", 1, "    ", 1272, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(280+65+22, 303+20+10, 62, 24);
        this.add(sureGive);
//        //地狱迷宫
//        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1275.png", 1, "    ", 1275, UIUtils.COLOR_BTNPUTONG);
//        sureGive.setBounds(525+73, 380+15, 73, 24);
//        this.add(sureGive);
        //万寿山
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1278.png", 1, "    ", 1278, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(221+68+22, 272+16+10, 62, 24);
        this.add(sureGive);
        //四圣庄
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1279.png", 1, "    ", 1279, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(210+68+22, 297+18+10, 62, 24);
        this.add(sureGive);
        //白骨山
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1280.png", 1, "    ", 1280, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(235+78+22, 242+15+10, 62, 24);
        this.add(sureGive);
//        //龙窟
//        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1282.png", 1, "    ", 1282, UIUtils.COLOR_BTNPUTONG);
//        sureGive.setBounds(385+65, 55, 40, 24);
//        this.add(sureGive);
//        //凤巢
//        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1289.png", 1, "    ", 1289, UIUtils.COLOR_BTNPUTONG);
//        sureGive.setBounds(265+85, 60, 40, 24);
//        this.add(sureGive);
        //灵兽村
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1296.png", 1, "    ", 1296, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(305+70+22, 40+10, 62, 24);
        this.add(sureGive);
        //皇宫
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1298.png", 1, "    ", 1298, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(450+65+22, 250+15+10, 40, 24);
        this.add(sureGive);
        //兰若寺
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/3012.png", 1, "    ", 3012, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(570+60+22, 415+28+10, 62, 24);
        this.add(sureGive);
        //宝象国
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/3180.png", 1, "    ", 3180, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(165+75+22, 222+20+10, 95, 24);
        this.add(sureGive);
        //修罗古城
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/3205.png", 1, "    ", 3205, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(340+65+22, 23+10, 73, 24);
        this.add(sureGive);
        //火云戈壁
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/3210.png", 1, "    ", 3210, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(130+65+22, 297+20+10, 73, 24);
        this.add(sureGive);
        //平顶山
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/3307.png", 1, "    ", 3307, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(145+65+22, 257+15+10, 62, 24);
        this.add(sureGive);
        //女儿国
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/3308.png", 1, "    ", 3308, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(120+70+22, 317+25+10, 62, 24);
        this.add(sureGive);


        //蓬莱
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1802.png", 1, "    ", 1802, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(750+22, 50+160+10, 57, 31);
        this.add(sureGive);
        //方壶
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1803.png", 1, "    ", 40005, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(768+22, 295+10, 42, 19);
        this.add(sureGive);
        //蓬莱海渊
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/4006.png", 1, "    ", 40006, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(730+22, 295+30+10, 84, 27);
        this.add(sureGive);
        //流洲
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1804.png", 1, "    ", 40007, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(800+22, 170+10, 41, 19);
        this.add(sureGive);
        //瀛洲
        sureGive = new RoleCaoZuoBtn("inkImg/old/9/1805.png", 1, "    ", 40004, UIUtils.COLOR_BTNPUTONG);
        sureGive.setBounds(800+22, 250+10, 42, 20);
        this.add(sureGive);

        ssnpc = new FormsOnOffBtn("inkImg/newbackground/worldXZNPC.png", 1, UIUtils.COLOR_BTNTEXT, "" ,  1101);
//        ssnpc.addMouseListener(new WLLMouslisten(5));
        ssnpc.setBounds(233+22, 415+10, 94, 40);
        this.add(ssnpc);

        czdl = new FormsOnOffBtn("inkImg/newbackground/worldCDL.png", 1, UIUtils.COLOR_BTNTEXT, "" ,  600);
//        czdl.addMouseListener(new WLLMouslisten(5));
        czdl.setBounds(110+22, 415+10, 94, 40);
        this.add(czdl);

    }

    public static void iWantToFlyGo(int index) {
        String flag=Util.mapmodel.getGamemap().getMapflag();
        if (flag == null||!"1".equals(flag)||ImageMixDeal.userimg.getTeams()==null) {
            ZhuFrame.getZhuJpanel().addPrompt2("当前地图不可以飞行！");
            return;
        }
        boolean b = false;
        String[] mpList = mapZb.split("\\|");
        for(String str:mpList) {
            String[] st = str.split(",");
            if(st[0].equals(index+"")) {
                npcfeiji = str;
                b = true;
            }
        }
        if(b) {
//    		//system.out.println(npcfeiji);
            String[] dt = npcfeiji.split(",");
            loadMap(Integer.parseInt(dt[0]),Integer.parseInt(dt[2]),Integer.parseInt(dt[3]));
//    		iWantToFly();1207,长安城,4070,2710
        }else {
            ZhuFrame.getZhuJpanel().addPrompt2("暂未开放此地图！");
        }
    }

    //传送 坐标
    public static void iWantToFly() {
        if(npcfeiji == null || npcfeiji.length() == 0) {
            ZhuFrame.getZhuJpanel().addPrompt2("请先搜索NPC!!!");
        }else {
            String kkf = "传送="+npcfeiji+", 可用次数=10";
            String kkf0 = "传送="+npcfeiji;
            String kkf1 = npcfeiji;
            String[] vs =kkf.split(",");
            String[] cishu = vs[vs.length - 1].split("=");
            int sum = Integer.parseInt(cishu[1]);
            --sum;
            String[] path = null;
            StringBuffer buffer = new StringBuffer();
            if (buffer.length() != 0) {
                buffer.append("|");
            }
            buffer.append(kkf0);
            if (path == null) {
                String[] pathv = kkf1.split(",");
                String wz = pathv[1] + "(" + pathv[2] + "," + pathv[3] + ")";
                path = pathv;
            }
            if (buffer.length() != 0) {
                buffer.append("|");
            }
            buffer.append(cishu[0]);
            buffer.append("=");
            buffer.append(sum);
            if (path != null) {
                if (sum <= 0) {
                    NPCJfram.getNpcJfram().getNpcjpanel().getGood().setUsetime(0);
                }
                GoodsMouslisten.gooduse(NPCJfram.getNpcJfram().getNpcjpanel().getGood(), 2);
                if (sum <= 0) {
                    GoodsListFromServerUntil.Deletebiaoid(NPCJfram.getNpcJfram().getNpcjpanel().getGood().getRgid());
                }
                Door door = new Door();
                door.setDoormap(path[0]);
                door.setDoorpoint(path[2] + "|" + path[3]);

                try {
                    TP.tp(door, 1);
                } catch (Exception var9) {
                    var9.printStackTrace();
                }
            }
        }
        npcfeiji="";
        FormsManagement.HideForm(1102);
    }

    //传送 坐标
    public static void iWantToFly(String feizb) {
        if (ImageMixDeal.userimg.getRoleShow().getBooth_id() != null) {
            ZhuFrame.getZhuJpanel().addPrompt2("摆摊状态不可以移动！");
            return;
        }
        boolean falg = GoodsListFromServerUntil.istype(2125,1);
        Goodstable goodstable = null;
        int i = 0;
        while (i < GoodsListFromServerUntil.getGoodslist().length) {
            if (GoodsListFromServerUntil.getGoodslist()[i] != null) {
                if (GoodsListFromServerUntil.getGoodslist()[i].getType().longValue() == 2125L) {
                    goodstable = GoodsListFromServerUntil.getGoodslist()[i];
                    break;
                }
            }
            ++i;
        }
        if(goodstable != null) {
            goodstable.setUsetime(Integer.valueOf(goodstable.getUsetime().intValue() - 1));
            GoodsListFromServerUntil.Deletebiaoid11(goodstable.getRgid());
            final String sendmesxx = Agreement.getAgreement().userAgreement(goodstable.getRgid().toString());
            SendMessageUntil.toServer(sendmesxx);
            npcfeiji1 = feizb;
            OptionsJframe.getOptionsJframe().getOptionsJpanel().showBox(TiShiUtil.SFCS, null, "#R注意：#Y是否消耗一次【任我行】次数进行传送？#G点击确定传送，点击取消自动寻路！");
        }else {
            ZhuFrame.getZhuJpanel().addPrompt2("道具【#R任我行#Y】不足无法传送！#G开始进行自动寻路");
            String[] zd = feizb.split(",");
            RoleShow roleShow =ImageMixDeal.userimg.getRoleShow();
            List<Object> list=XLPath.ZDXL(roleShow.getX(), roleShow.getY(), roleShow.getMapid().intValue(), Integer.parseInt(zd[2]), Integer.parseInt(zd[3]), Integer.parseInt(zd[0]));
            if (list==null) {
                ZhuFrame.getZhuJpanel().addPrompt2("你所在位置无法达到目的地");
                return;
            }
            TimeControlRunnable.addScript(list);
            return;
        }
    }
    public static void feizb(List<String> selectNpc) {
        String feiji = selectNpc.get(0);
        String str11=feiji.substring(0, feiji.indexOf(","));
        String str22=feiji.substring(str11.length()+1, feiji.length());
        String str111=str22.substring(0, str22.indexOf(","));
        String str222=str22.substring(str111.length()+1, str22.length());
        feiji = feiji.replace("(", ",");
        feiji = feiji.replace(")", "");
        String str1=feiji.substring(0, feiji.indexOf(","));
        String str2=feiji.substring(str1.length()+1, feiji.length());
        String[] str3 = str2.split(",");
        str3[2] =(Long.parseLong(str3[2])*20)+"";
        str3[3] =(Long.parseLong(str3[3])*20)+"";
        npcfeiji = str3[0]+","+str3[1]+","+str3[2]+","+str3[3];
    }


//    private ImageIcon icon = CutButtonImage.getImage(imageMap.getImgMap().get("worldmap"),"worldmap", 953, 501);


    public static int getCurrentMonthDay() {
        Calendar a = Calendar.getInstance();

        a.set(Calendar.DATE, 1);

        a.roll(Calendar.DATE, -1);

        int maxDate = a.get(Calendar.DATE);

        return maxDate;

    }

//    @Override
//    protected void paintComponent(Graphics g) {
//        super.paintComponent(g);
//        g.drawImage(icon.getImage(), 0, 0, 953, 501, this);
//
//    }

    private ImageIcon icon;

    @Override
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);

        if("水墨UI".equals(MyIsif.getStyle())) {
            if (icon == null) {
                icon = new ImageIcon("inkImg/newbackground/worldmap.png");
            }
            // 设置面板
            g.drawImage(icon.getImage(), 0, 0, 953, 501, this);
        }else {
            if (icon == null) {
                icon = new ImageIcon("inkImg/hongmu/worldmaph.png");
            }
            // 设置面板
            g.drawImage(icon.getImage(), 0, 0, 953, 501, this);
        }

    }


    public DefaultTableModel getTableModel() {
        return tableModel;
    }

    public void setTableModel(DefaultTableModel tableModel) {
        WorldMapJpanel.tableModel = tableModel;
    }


    public static JTextField getFindName1() {
        return findName1;
    }

    public static void setFindName1(JTextField findName1) {
        WorldMapJpanel.findName1 = findName1;
    }

    public Goodstable getGood() {
        return good;
    }

    public void setGood(Goodstable good) {
        this.good = good;
    }

    public String[] getFvalue() {
        return Fvalue;
    }

    public void setFvalue(String[] fvalue) {
        Fvalue = fvalue;
    }

    public JTextArea getTestMes() {
        return testMes;
    }

    public void setTestMes(JTextArea testMes) {
        WorldMapJpanel.testMes = testMes;
    }

    /**
     * 小地图
     */
    public static Mapmodelworld mapmodel = new Mapmodelworld();
    public static int ditubianma = 0;
    public synchronized static void loadMap(int mapid, int x, int y) {
        // 添加资源清理逻辑，解决内存泄漏问题
        if (mapmodel != null && mapmodel.getjMap() != null) {
            mapmodel.getjMap().clear();
        }

        ditubianma = mapid;

//        Gamemap gamemap = UserMessUntil.getAllmapbean().getAllMap().get(ditubianma + "");
//        GamemapWorld gamemapWorld = new GamemapWorld();
//        try {
//			BeanUtils.copyProperties(gamemapWorld, gamemap);
//		} catch (IllegalAccessException e1) {
//			// TODO Auto-generated catch block
//			e1.printStackTrace();
//		} catch (InvocationTargetException e1) {
//			// TODO Auto-generated catch block
//			e1.printStackTrace();
//		}
        // 加载传送门
        List<Door> doors = new ArrayList<>();
        GregorianCalendar calendar = new GregorianCalendar();
        int hour = calendar.get(Calendar.HOUR_OF_DAY);
        //if ((ditubianma == 1193 || ditubianma == 1207) && (hour >= 19 || hour <= 7))
        if (( ditubianma == 1207) && (hour >= 19 || hour <= 7)) {
            mapmodel.getjMap().loadMap(new File("resource/map/" + ditubianma + "1.map"), doors);
        } else {
            mapmodel.getjMap().loadMap(new File("resource/map/" + ditubianma + ".map"), doors);
        }
        // 重置大小
        mapmodel.Mapsize();
        mapmodel.force(x, y);
        try {
            Image image;
//            if ((ditubianma == 1193 || ditubianma == 1207) && (hour >= 19 || hour <= 7)) {
//                image = new ImageIcon("resource/smap/s" + ditubianma + "1.png").getImage();
//            } else {
            if("水墨UI".equals(MyIsif.getStyle())) {
                image = new ImageIcon("inkImg/number/npk/s/s"+ditubianma +".png").getImage();
            }else {
                image = new ImageIcon("inkImg/number/npk/s/h"+ditubianma +".png").getImage();
            }

//            }
            if (image.getWidth(null) <= 0) {
                WorldTestsmallmapJframe.getWorldTestsmallmapJframe().setBounds((ScrenceUntil.Screen_x / 2 - 400), (ScrenceUntil.Screen_y / 2 - 250), 5, 1);
            } else {
                WorldTestsmallmapJframe.getWorldTestsmallmapJframe().setBounds((ScrenceUntil.Screen_x / 2 - 400), (ScrenceUntil.Screen_y / 2 - 250), image.getWidth(null) + 5,
                        image.getHeight(null) + 1);
            }
            mapmodel.MiniMap(image);
//            WorldTestsmallmapJframe.getWorldTestsmallmapJpanel();
            FormsManagement.showForm(1103);
        }
        catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }

    public synchronized static void loadMapTP(int mapid, int x, int y) {
        // 添加资源清理逻辑，解决内存泄漏问题
        if (mapmodel != null && mapmodel.getjMap() != null) {
            mapmodel.getjMap().clear();
        }

        ditubianma = mapid;
//        Gamemap gamemap = UserMessUntil.getAllmapbean().getAllMap().get(ditubianma + "");
//        GamemapWorld gamemapWorld = new GamemapWorld();
//        try {
//			BeanUtils.copyProperties(gamemapWorld, gamemap);
//		} catch (IllegalAccessException e1) {
//			// TODO Auto-generated catch block
//			e1.printStackTrace();
//		} catch (InvocationTargetException e1) {
//			// TODO Auto-generated catch block
//			e1.printStackTrace();
//		}
        // 加载传送门
        List<Door> doors = new ArrayList<>();
        GregorianCalendar calendar = new GregorianCalendar();
        int hour = calendar.get(Calendar.HOUR_OF_DAY);
        //if ((ditubianma == 1193 || ditubianma == 1207) && (hour >= 19 || hour <= 7))
        if ((ditubianma == 1207) && (hour >= 19 || hour <= 7)) {
            mapmodel.getjMap().loadMap(new File("resource/map/" + ditubianma + "1.map"), doors);
        } else {
            mapmodel.getjMap().loadMap(new File("resource/map/" + ditubianma + ".map"), doors);
        }
        // 重置大小
        mapmodel.Mapsize();
        mapmodel.force(x, y);
        try {
            Image image;
//            if ((ditubianma == 1193 || ditubianma == 1207) && (hour >= 19 || hour <= 7)) {
//                image = new ImageIcon("resource/smap/s" + ditubianma + "1.png").getImage();
//            } else {
            if("水墨UI".equals(MyIsif.getStyle())) {
                image = new ImageIcon("inkImg/number/npk/s/s"+ditubianma +".png").getImage();
            }else {
                image = new ImageIcon("inkImg/number/npk/s/h"+ditubianma +".png").getImage();
            }
//            }
            if (image.getWidth(null) <= 0) {
                WorldTestsmallmapJframe.getWorldTestsmallmapJframe().setBounds((ScrenceUntil.Screen_x / 2 - 400), (ScrenceUntil.Screen_y / 2 - 250), 5, 1);
            } else {
                WorldTestsmallmapJframe.getWorldTestsmallmapJframe().setBounds((ScrenceUntil.Screen_x / 2 - 400), (ScrenceUntil.Screen_y / 2 - 250), image.getWidth(null) + 5,
                        image.getHeight(null) + 1);
            }
            mapmodel.MiniMap(image);
            WorldTestsmallmapJframe.getWorldTestsmallmapJpanel();
//       	    FormsManagement.showForm(1103);
        } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }

    public static void setNumber() {
        List<Goodstable> goodstables = GoodsListFromServerUntil.chaxunss(2125);
        if(goodstables!=null && goodstables.size()>0) {
            if(goodstables.size()>1) {
                goodstables.sort(Comparator.comparing(Goodstable::getValue));
            }
        }
        String[] vs = goodstables.get(0).getValue().split("\\|");
        String[] cishu = vs[vs.length - 1].split("=");
        int sum = Integer.parseInt(cishu[1]);
        --sum;
        StringBuffer buffer = new StringBuffer();

        if (buffer.length() != 0) {
            buffer.append("|");
        }

        buffer.append(cishu[0]);
        buffer.append("=");
        buffer.append(sum);
        goodstables.get(0).setValue(buffer.toString());
        if (sum <= 0) {
            goodstables.get(0).setUsetime(0);
        }
        GoodsMouslisten.gooduse(goodstables.get(0), 2);
        if (sum <= 0) {
            GoodsListFromServerUntil.Deletebiaoid(goodstables.get(0).getRgid());
        }
    }



////    海底迷宫
//    public static MouseStyleBtn getMazekz() {
//        return WorldMapJpanel.mazekz;
//    }
//
//    public static void setMazekz(final MouseStyleBtn mazekz) {
//        WorldMapJpanel.mazekz = mazekz;
//    }
//
//    public static RoleCaoZuoBtn getMaze1() {
//        return WorldMapJpanel.maze1;
//    }
//
//    public static void setMaze1(final RoleCaoZuoBtn maze1) {
//        WorldMapJpanel.maze1 = maze1;
//    }
//
//    public static RoleCaoZuoBtn getMaze2() {
//        return WorldMapJpanel.maze2;
//    }
//
//    public static void setMaze2(final RoleCaoZuoBtn maze2) {
//        WorldMapJpanel.maze2 = maze2;
//    }
//
//    public static RoleCaoZuoBtn getMaze3() {
//        return WorldMapJpanel.maze3;
//    }
//
//    public static void setMaze3(final RoleCaoZuoBtn maze3) {
//        WorldMapJpanel.maze3 = maze3;
//    }
//
//    public static RoleCaoZuoBtn getMaze4() {
//        return WorldMapJpanel.maze4;
//    }
//
//    public static void setMaze4(final RoleCaoZuoBtn maze4) {
//        WorldMapJpanel.maze4 = maze4;
//    }
//
////    地狱迷宫
//
//    public static MouseStyleBtn getDiyumogkz() {
//        return WorldMapJpanel.diyumogkz;
//    }
//
//    public static void setDiyumogkz(final MouseStyleBtn diyumogkz) {
//        WorldMapJpanel.diyumogkz = diyumogkz;
//    }
//
//    public static RoleCaoZuoBtn getDiyumog1() {
//        return WorldMapJpanel.diyumog1;
//    }
//
//    public static void setDiyumog1(final RoleCaoZuoBtn diyumog1) {
//        WorldMapJpanel.diyumog1 = diyumog1;
//    }
//
//    public static RoleCaoZuoBtn getDiyumog2() {
//        return WorldMapJpanel.diyumog2;
//    }
//
//    public static void setDiyumog2(final RoleCaoZuoBtn diyumog2) {
//        WorldMapJpanel.diyumog2 = diyumog2;
//    }
//
//    public static RoleCaoZuoBtn getDiyumog3() {
//        return WorldMapJpanel.diyumog3;
//    }
//
//    public static void setDiyumog3(final RoleCaoZuoBtn diyumog3) {
//        WorldMapJpanel.diyumog3 = diyumog3;
//    }
//
//    public static RoleCaoZuoBtn getDiyumog4() {
//        return WorldMapJpanel.diyumog4;
//    }
//
//    public static void setDiyumog4(final RoleCaoZuoBtn diyumog4) {
//        WorldMapJpanel.diyumog4 = diyumog4;
//    }


}
